package o2o.dao.VO.order;

import o2o.cache.order.OrderStatusNameMemory;

//订单状态信息
public class OrderStatusVO {
    private Long id; // 标识
    private String orderNo; // 订单编号
    private Integer orderStatus;//订单状态
    private String note;//备注信息
    private String orderStatusName;//订单状态名称
    private String orderStatusNameLang;//订单状态名称
    private String createUser; // 创建者
    private Long createTime; // 创建日期
    private String userPhone;//用户联系电话


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }


    public String getOrderStatusName() {
        orderStatusName = OrderStatusNameMemory.getInstance().getStatusName(orderStatus);
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public String getOrderStatusNameLang() {
        orderStatusNameLang = OrderStatusNameMemory.getInstance().getStatusNameLang(orderStatus);
        return orderStatusNameLang;
    }

    public void setOrderStatusNameLang(String orderStatusNameLang) {
        this.orderStatusNameLang = orderStatusNameLang;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
